"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isJsonObject(obj) {
    return typeof obj === "object"
        && obj.constructor !== undefined
        && obj.constructor === Object;
}
exports.isJsonObject = isJsonObject;
function isStringWithNotEmpty(obj) {
    return typeof obj === "string"
        && obj.trim().length > 0;
}
exports.isStringWithNotEmpty = isStringWithNotEmpty;
function isElement(obj) {
    return typeof obj === "object"
        && obj instanceof Element;
}
exports.isElement = isElement;
function isStringOrElement(obj) {
    return typeof obj === "string" || isElement(obj);
}
exports.isStringOrElement = isStringOrElement;
function isMoveEvent(obj) {
    return obj.button !== undefined
        && obj.touches === undefined;
}
exports.isMoveEvent = isMoveEvent;
